package top.bluesword.bean;

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;

/**
 * @author 李林峰
 */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME)
@JsonSubTypes({
    @JsonSubTypes.Type(value = NoTypeSquare.class, name = FigureTypeEnum.SQUARE_NAME),
    @JsonSubTypes.Type(value = NoTypeCircular.class, name = FigureTypeEnum.CIRCULAR_NAME)
})
public abstract class NoTypeFigure {
}
